--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit cbc670d6b0773e398e765c0ce43994c70fcdde0f
Parents : f6d87b4
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-06-15T12:15:24+02:00
Compatibility with urwid 4.0.0+
Changes
2 files changed, 2 insertions(+), 2 deletions(-)
Diff
diff --git a/nomadnet/vendor/Scrollable.py b/nomadnet/vendor/Scrollable.py
index dc130d4..e40bef0 100644
--- a/nomadnet/vendor/Scrollable.py
+++ b/nomadnet/vendor/Scrollable.py
@@ -138,7 +138,7 @@ class Scrollable(urwid.WidgetDecoration):
first_visible = True
if w.selectable():
- ow.focus_item = pwi
+ ow.focus = pwi
st = None
nf = ow.get_focus()
diff --git a/setup.py b/setup.py
index 9460894..94c17e6 100644
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,6 @@ setuptools.setup(
entry_points= {
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
},
- install_requires=["rns>=1.3.4", "lxmf>=1.0.0", "urwid>=2.6.16", "qrcode"],
+ install_requires=["rns>=1.3.5", "lxmf>=1.0.1", "urwid>=3.0.5", "qrcode"],
python_requires=">=3.8",
)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────